// 启动项目就对校验进行一次加载
const path = require('path')
module.exports = app =>{
    const dire = path.join(app.config.baseDir, 'app/validate')
     app.loader.loadToApp(dire, 'validate')

}